package co.kr.bymin76.model;


import android.os.Parcel;
import android.os.Parcelable;

public final class ModelTitleValue implements Parcelable {
	public String title;
	public String value;

	public static final Parcelable.Creator<ModelTitleValue>
		CREATOR = new Creator<ModelTitleValue>() {
			public ModelTitleValue[] newArray(int size) {
				return new ModelTitleValue[size];
			}
			
			public ModelTitleValue createFromParcel(Parcel source) {
				return new ModelTitleValue(source);
			}
		};
		
	public ModelTitleValue() {
		
	}
	
	public ModelTitleValue(Parcel source) {
		readFromParcel(source);
	}
		
	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(title);
		dest.writeString(value);
	}

	public void readFromParcel(Parcel src) {
		title = src.readString();
		value = src.readString();
	}
}